package com.oocl.oopdemo.fivedayself;

public class HashCodeDemo {

	public static void main(String[] args) {
		Object obj1=new Object();
		Object obj2=obj1;
		Object obj3=new Object();
		System.out.println(obj1.hashCode()==obj2.hashCode());
		System.out.println(obj1.hashCode()==obj3.hashCode());
	}
}
